// FrogRenameAutoAlphaDialog.cpp : Implementation of CFrogRenameAutoAlphaDialog

#include "stdafx.h"
#include "FrogRenameAutoAlphaDialog.h"


// CFrogRenameAutoAlphaDialog

LRESULT CFrogRenameAutoAlphaDialog::OnInitDialog(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
{
	CFrogOrderFilesDialog::OnInitDialog(uMsg, wParam, lParam, bHandled);
	return 0;
}

LRESULT CFrogRenameAutoAlphaDialog::OnClickedOK(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled)
{
	bHandled = TRUE;
	// TODO: Add your control notification handler code here
	UpdateSortedFilesList();
	RunAsyncCommandWithProgressBar(false);
	EndDialog(wID);
	return 0;
}

void CFrogRenameAutoAlphaDialog::ExecuteCommand()
{
	m_FilesRefactor.RenameFilesAlphabetize(m_LastResult, m_OutFilesList);
}